//<template>
  <div>

  </div>
</template>

<script>
import axios from 'axios'
export default {
    data(){
        return{
            code:this.$route.params.code,
            url:'http://127.0.0.1:8000/app01/callback',
        }
    },
    methods:{
        get_access(){
            axios({
                url:this.url + '/app01/callback/?code=' + this.code
             }).then(res => {
                 console.log(res.data)
             })
        }
    },
    created(){
        console.log(this.code)
        this.get_access()
    }
}
</script>

<style>

</style>